<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../public/public.jsp"%>
<jsp:include page="../public/publishCssAndJS.jsp" flush="true"></jsp:include>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<title>新建期刊
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		</title>
		<link href="<%=path %>/css/uploadify.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="<%=path %>/js/commom/jquery.js"></script>
		<script type="text/javascript" src="<%=path %>/js/commom/jquery.form.js"></script>
		<script type="text/javascript" src="<%=path %>/js/commom/swfobject.js"></script>
		<script type="text/javascript" src="<%=path %>/js/commom/jquery.uploadify.js"></script>
		<script type="text/javascript" src="<%=path %>/js/commom/util.js"></script>
		<script type="text/javascript" src="<%=path %>/js/commom/validate.js" ></script>
		<script type="text/javascript" src="<%=path %>/js/periodical/periodicalAdd.js"></script>
		<script type="text/javascript" src="<%=path %>/dwr/engine.js"></script>
		<script type="text/javascript" src="<%=path %>/dwr/util.js"></script>
		<script type="text/javascript" src="<%=path %>/dwr/interface/ValidateRepeat.js"></script>
	</head>
	<body class="bodyWindowDialog">
		<iframe  id='target_upload' name='target_upload' src='' style='display: none'></iframe>
		<form id="periodicalForm" action="periodical.action" method="post" enctype="multipart/form-data">
			<input type="hidden" id="cmd" name="cmd" value="add" />
			<input type="hidden" id="batchAddcmd" name="batchAddcmd" value="batchAdd" />
			<input type="hidden" id="addcmd" name="addcmd" value="add" />
			<input type="hidden" id="path" value="<%=path %>"/>
			<input type="hidden" name="formMap.className" value='<s:property value="formMap.className"/>'  />
  			<input type="hidden" name="formMap.allSearch" />
			<input type="hidden" id="hasAccessory" name="formMap.hasAccessory" value="YES"/>
			<input type="hidden" id="maintainDep" name="maintainDep" value="${sessionScope.user_name.orgId}" />
			<input type="hidden" id="updatePage" value="NO"/>
			<table cellspacing="1px" class="add_ModelTableStyle">
				<tr>
					<td colspan="2" class="add_title">
						&nbsp;新&nbsp;建&nbsp;期&nbsp;刊&nbsp;
					</td>
				</tr>
				<tr>
					<td colspan="2" class="add_underlineCss"></td>
				</tr>
				
				<!-- 需要修改的地方  start -->
				
				<!-- 
				<tr>
					<td colspan="2">
						<input type="button" class='model_buttonInput' value="下载模板" onclick="download('<s:property value="formMap.tempName"/>','<s:property value="formMap.tempPath"/>','<s:property value="formMap.tempName"/>','<%=path %>')" title="down" />&nbsp;
					</td>
				</tr>
				 -->
				
				<tr>
					<td class="add_leftcellStyle"> 
						期刊所属年份:
					</td>
					<td class="add_rightcellStyle">
						<input class="textInput" type="text" id="po.years" name="po.years" />
						<font color="#FF6600">*</font>
					</td>
				</tr>
				
				<!-- 
				<tr>
					<td class="add_leftcellStyle"> 
						期刊版本:
					</td>
					<td class="add_rightcellStyle">
						<input class="textInput" type="text" id="po.magzaineVersion" name="po.magzaineVersion"  />
						<font color="#FF6600" size=2>*</font>
					</td>
				</tr>
				 -->
				<tr>
					<td class="add_leftcellStyle"> 
						期刊号:
					</td>
					<td class="add_rightcellStyle">
						<input class="textInput"  type="text" id="po.magazineName" name="po.magazineName"   />
						<font color="#FF6600" size=2>*</font>
					</td>
				</tr>
				<tr>
					<td class="add_leftcellStyle"> 
						论文列表:
					</td>
					<td class="add_rightcellStyle">
							<div style="float:left;">
								<input type="button" style="width:110px;" class='model_buttonInput' value="下载论文列表模板" onclick="download('<s:property value="formMap.tempName"/>','<s:property value="formMap.tempPath"/>','<s:property value="formMap.tempName"/>','<%=path %>')"  />&nbsp;
							</div>
							<input type="file" value="批量导入论文" name="accessory" id="uploadify" style="margin-left: 25px;" />&nbsp;
					</td>
				</tr>
				
				<tr>
					<td colspan="2"> 
						<div id="fileQueue"></div>
						<div id="showMsg"  style="display:none;">
							<span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span>
							<div id="msgData">
						</div>
					</div>
					</td>
				</tr>
				
				<tr>
					<td colspan="2" class="add_underlineCss"></td>
				</tr>
				
				<tr >
					<td colspan="2" class="add_title">
						<table cellspacing="1px" class="attachmentTableStyle" style="background-color: white;">
							<tr>
								<td colspan="3" class="add_title">
									&nbsp;附&nbsp;件&nbsp;列&nbsp;表&nbsp;
								</td>
							</tr>
							<tr>
								<td colspan="3">
									<input type="file" name="accessory" id="addUploadify" style="float:left;"/>
									</td>
							</tr>
							<tr>
								<td colspan="3">
									<div id="addfileQueue" style="float:left;"></div>
								</td>
							<td id="accessoryData" colspan="3">
								</td>
							</tr>
						</table>
					</td>
				</tr>
				
				
				
				<tr class="model_root_buttonAreaStyle">
					<td align="center" colspan="2" >
						<input type="button" value="&nbsp;保&nbsp;存&nbsp;" onclick="add()" class='model_buttonInput' />
						&nbsp;&nbsp;
						<input type="reset" value="&nbsp;重&nbsp;置&nbsp;" class='model_buttonInput' />
						&nbsp;&nbsp;
						<input type="button" value="&nbsp;取&nbsp;消&nbsp;" onclick="window.close()" class='model_buttonInput' />
					</td>
				</tr>
				
				<!-- 需要修改的地方  end -->
				
				
			</table>
		</form>
	</body>
</html>